package edu.zut.cs.software.perfect.attendance.service;

import java.util.List;
import java.util.Optional;

import edu.zut.cs.software.perfect.attendance.domain.CourseAttendance;
import edu.zut.cs.software.perfect.base.service.GenericManager;

/**
 * 
 * @Title: CourseAttendanceManager
 * @Description: TODO
 * @author: lipengde
 * @date 2020年5月25日 下午7:22:42
 */
public interface CourseAttendanceManager extends GenericManager<Long, CourseAttendance> {
	/*
	 * CourseAttendance echo(CourseAttendance courseAttendance);
	 * 
	 * 
	 * CourseAttendance findByName(String name);
	 * 
	 * 
	 * List<CourseAttendance> findAll();
	 */

	/*
	 * List<CourseAttendance> findByFullname(String string);
	 * 
	 * List<CourseAttendance> findByCourseName(String courseId);
	 */
	List<CourseAttendance> findAll();
	
	Optional<CourseAttendance> findByCourseId(Long courseId);

	Boolean deleteById(Long courseId);
}
